home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cpp_libs / answrbok / 6_10.lha / 6_10 / 6_10tst2.c < prev    next >
Text File  |  1993-08-08  |  299b  |  20 lines

  1. * Copyright (c) 1990 by AT&T Bell Telephone Laboratories, Incorporated. */
  2. * The C++ Answer Book */
  3. * Tony Hansen */
  4. * All rights reserved. */
  5. include <stream.h>
  6. include <values.h>
  7.  
  8. include "lint.h"
  9.  
  10. ain()
  11.  
  12.    LINT x = 0;
  13.    while (cin)
  14.        {
  15. cin >> x;
  16. cout << "x=" << x << "\n";
  17. }
  18.    return 0;
  19.  
  20.